package com.lanou.activity.mapper;

import com.sun.org.apache.bcel.internal.generic.LSTORE;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface PlainSupMapper {

    /**
     * @description 根据prdNo连表查询信息
     * @author Lonely
     * @date 17/9/27
     * @return
     * @param
     */
    List<Map<String,Object>> findPlainInfoAll(List list);

    /**
     * @description 根据conNo查询sale_cdn_info
     * @author Lonely
     * @date 17/9/28
     * @return
     * @param
     */
    List<Map<String,Object>> findSaleCdnByConNo(List conNos);

    /**
     * @description 根据conNo查询买赠信息
     * @author Lonely
     * @date 17/9/27
     * @return
     * @param
     */
    List<Map<String,Object>> findSLGFByConNo(@Param("conNo") String conNo);

    /**
     * @description 根据conNo查询优惠信息表的数据
     * @author Lonely
     * @date 17/9/27
     * @return
     * @param
     */
    List<Map<String,Object>> findDiscountByConNo(@Param("conNo") String conNo,@Param("conType") String conType);

}
